<remark>Necessita de uma introdução melhor</remark>
<remark>Este capítulo necessita de ser re-escrito</remark>
<highlights>
<para>Este capítulo apresenta a informação de que necessita para iniciar uma sessão, geri-la e terminá-la no GNOME.</para>
</highlights>
<sect1 id="gosgetstarted-69">
<title>Iniciar uma Sess√£o</title>
<indexterm>
<primary>sessões</primary>
<secondary>iniciar</secondary>
</indexterm>
<para>A <firstterm>session</firstterm> is the period of time you spend using GNOME, between logging in and logging out. During a session, you use your applications, print, browse the web, and so on.</para>
Normally, logging out ends the session, but you can choose to save the state of your session and restore it next time you use GNOME: see <xref linkend="gosstartsession-2"/>.</para></tip>
<!--
2.14 has moved all this out of the standard dialogs.
The session manager saves and restores the following:
<itemizedlist>
<listitem>
<para>The appearance and behavior settings, for example fonts, colors,
and mouse settings. </para>
</listitem>
<listitem>
<para>The applications that you were running, for example file manager
and text editor windows. You cannot save and restore applications that the
session manager does not manage. For example, if you start the <application>vi</application> editor from the command line in a terminal window, session
manager cannot restore your editing session. </para>
</listitem>
</itemizedlist>
-->
<sect2 id="gosstartsession-85">
<title>Iniciar uma sess√£o no GNOME</title>
<indexterm>
<primary>sessões</primary>
<secondary>iniciar sess√£o</secondary>
</indexterm>
<indexterm>
<primary>iniciar sess√£o</primary>
<secondary>sess√£o</secondary>
</indexterm>
<indexterm>
<primary>iniciar sess√£o</primary>
</indexterm>
<para>Para iniciar uma sess√£o, realize os seguintes passos:</para>
<orderedlist>
<listitem>
<para>On the login screen, click on the <guilabel>Session</guilabel>
icon. Choose the GNOME Desktop from the list of available desktop environments.
Most users will not need to perform this step, as GNOME is usually the default
desktop environment already.</para>
</listitem>
<listitem>
<para>Introduza o seu nome de utilizador no campo <guilabel>Utilizador</guilabel>, depois prima <keycap>Return</keycap>.</para>
</listitem>
<listitem>
<para>Introduza a sua senha no campo <guilabel>Senha</guilabel>, depois prima <keycap>Return</keycap>.</para>
</listitem>
</orderedlist>
<para>When you log in successfully, GNOME will take a short amount of time to start up. When it is ready, you will see the Desktop and you can begin using your computer.</para>
<para>The first time you log in, the session manager starts a new
session. If you have logged in before and saved the settings for the previous
session when you logged out, then the session manager restores your
previous session.</para>
<para>Caso deseje desligar ou reiniciar o sistema antes de iniciar uma sessão, clique no ícone <guilabel>Sistema</guilabel> no ecrã inicial. É apresentado um diálogo. Seleccione a opção desejada e clique <guibutton>OK</guibutton>.</para>
<para>Your system distributor or vendor may have altered the login screen
so that it no longer has a <guilabel>System</guilabel> icon. In this case,
the option to shut down the computer may be found by clicking the
<guilabel>Other</guilabel> icon, or by clicking a separate
<para>Locking your screen prevents access to your applications and information, allowing you to leave your computer unattended. While your screen is locked, the <link linkend="prefs-screensaver">screensaver</link> runs.</para>
<para>Para trancar o ecrã, realize uma das seguintes acções:</para>
<itemizedlist>
<listitem>
<para>Escolha <menuchoice><guimenu>Sistema</guimenu><guimenuitem>Sair...</guimenuitem></menuchoice> e depois seleccione <guibutton>Trancar ecr√£</guibutton>.</para>
</listitem>
<listitem>
<para>Se o bot√£o <guibutton>Trancar Ecr√£</guibutton> estiver presente num painel, clique no bot√£o <guibutton>Trancar Ecr√£</guibutton></para>
<note><para>The <guibutton>Lock Screen</guibutton> button is not present on the panels by default. To add it, see <xref linkend="panels-addobject"/>.</para></note>
</listitem>
</itemizedlist>
<para>Para destrancar o ecr√£, mova o rato ou prima uma tecla, introduza a sua senha no di√°logo de ecr√£ trancado, depois prima <keycap>Return</keycap>.</para>
<para>If another user wants to use the computer while it is locked, they can move the mouse or press a key and then click <guibutton>Switch User</guibutton>. The login screen will be displayed and they can log in using their user account. They will not be able to access any of your applications or information. When they log out, the screen will be locked again and you can access your session by unlocking the screen.</para>
<para>You can leave a message for a user who has locked their screen. Move the mouse or press any key and then click <guibutton>Leave Message</guibutton>. Type your message into the box and press <guibutton>Save</guibutton>. Your message will be displayed when the user unlocks their screen.</para>
</sect1>
<sect1 id="gosstartsession-2">
<title>Setting Programs to Start Automatically When You Log In</title>
<indexterm>
<primary>ferramentas de preferências</primary>
<secondary>Sessões</secondary>
</indexterm>
<indexterm>
<primary>sessões</primary>
<secondary>startup</secondary>
</indexterm>
<para>You can choose for certain programs to be started automatically when
you log in to a session. For example, you might want a web browser to be started
as soon as you log in. Programs which start automatically when you log in are
called <firstterm>startup programs</firstterm>. Startup programs are
automatically saved and safely closed by the session manager when you log
out, and are restarted when you log in.</para>
<para>The <application>Sessions</application> preference tool allows you to
define which programs are started automatically when you log in. It has two
tabs, the <guilabel>Startup Programs</guilabel> tab and the
<guilabel>Options</guilabel> tab.</para>
<sect2 id="gosstartsession-21">
<title>Startup Programs Tab</title>
<!-- Preserve IDs for backwards compatibility -->
<anchor id="gosstartsession-6"/>
<anchor id="gosstartsession-10"/>
<para>You can use the Startup Programs tab to add, modify, and
remove startup programs.</para>
<para>A list of startup programs is displayed on this tab. The list shows
a short description of each program, along with a checkbox which denotes
whether the startup program is enabled or not. Programs which are not
enabled will not be started automatically when you log in.</para>
<para>Após terminar a utilização do seu computador, pode seleccionar uma das seguintes opções:</para>
<itemizedlist>
<listitem>
<para>Log out, leaving the computer ready for another user to begin working with it. To log out of GNOME, choose <menuchoice><guimenu>System</guimenu><guimenuitem>Log Out <replaceable>username</replaceable></guimenuitem></menuchoice> .</para>
</listitem>
<listitem>
<para>Shut down your computer and switch off the power. To shut down, choose <menuchoice><guimenu>System</guimenu><guimenuitem>Shut Down</guimenuitem></menuchoice> and click <guibutton>Shut Down</guibutton> on the dialog that appears.</para>
</listitem>
<listitem>
<para>Depending on your computer's configuration, you can also <firstterm>Hibernate</firstterm> your computer. During hibernation, less power is used, but all of the applications and documents that you have open are preserved and will still be open when you resume from hibernation. You can resume from hibernation by moving your mouse or pressing a key.</para>
</listitem>
</itemizedlist>
<note>
<para>Some vendors and distributors allow you to hibernate your computer in two ways, often called Hibernate and <firstterm>Suspend</firstterm>. Both of these will preserve your open files and applications, but one will switch off the power to your computer while the other will leave the computer running in a state that uses less power.</para>
</note>
<para>Quando termina uma sessão, aplicações com trabalho por gravar irão avisá-lo. Pode seleccionar gravar o seu trabalho ou cancelar o comando de terminar sessão ou desligar.</para>
<para>Antes de terminar uma sessão, poderá desejar gravar as suas configurações actuais para que mais tarde possa restaurar a sessão. Na ferramenta de preferências <link linkend="prefs-sessions"><application>Sessões</application></link>, pode seleccionar uma opção para gravar automaticamente as configurações da sua sessão actual.</para>